package com.neural.metric;

import java.util.List;

public class ManhattanMetric extends Metric {

	public ManhattanMetric() {
		super("manhattan");
	}

	@Override
	public Double getValueFor(List<Double> distances) {
		Double value = 0.0;
		for (Double dist : distances) {
			value += dist;
		}
		return value;
	}
}
